package com.handinfo.android.game;

public class RoleKnapsack
{
	public static final byte TYPE_BAG_ROLE = 0;// 道具背包
	public static final byte TYPE_BAG_EQUIP = 1;// 装备背包
	public static final byte TYPE_BAG_STORAGE = 2;// 仓库背包
	public static final byte TYPE_BAG_PET = 3;// 宠物背包
	public byte m_layer_actorItem;//标识是那一个背包
	public int m_index;// 在当前item列表中的顺序
	public int m_num;

	public String m_key;// 标示I

	/**
	 * 获得道具key的hashCode，用于快捷键设置
	 * 
	 * @param item
	 * @return
	 */
	public static int getActorItemKeyId(RoleKnapsack bk)
	{
		return bk.m_key.hashCode();
	}
}
